import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:ost_flutter_module/class/store/order_page/order_result_page/bloc/order_result_page_bloc.dart';
import 'package:ost_flutter_module/class/store/order_page/order_result_page/store_order_result_page_body.dart';
import 'package:ost_flutter_module/common/styles.dart';
import 'package:ost_flutter_module/widget/custom_widget/custome_scaffold.dart';

class StoreOrderResultPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return BlocProvider<OrderResultPageBloc>(
      create: (context) => OrderResultPageBloc(),
      child: GScaffold(
        title: Text('支付完成', style: TextStyles.appBarTitleStyle),
        body: StoreOrderResultPageBody(),
      ),
    );
  }
}
